/**
 * 
 */
package net.kaixinpig.processor;

import java.io.IOException;

import container.AbstractProcessor;
import logging.Logger;
import servlet.annotation.Parameter;
import servlet.annotation.RequestProcessor;
import servlet.annotation.RequestProcessing;

/**
 * @author think
 *
 */
@RequestProcessor
public class HelloProcessor2 extends  AbstractProcessor{
	private static final Logger LOGGER = Logger.getLogger(HelloProcessor2.class.getName());
	
	@RequestProcessing(value={"/aa","/bb"})
	public void index(@Parameter(name="name",defaultValue="")  String name){
		LOGGER.info("hello2");
		try {
			this.getResponse().getWriter().write("HelloProcessor2");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	

}
